const Router = require('koa-router');

const router = Router();
// @ts-ignore
export default (app) => {
    app.use(router.routes());   /*启动路由*/
    app.use(router.allowedMethods());
};